﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace Green.AgileMapper
{
    /// <summary>
    /// 用户自定义Attribute必须继承至CustomerMappingAttribute，实现CreateRule
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public abstract class CustomerMappingAttribute : MappingBaseAttribute
    {

        public abstract IMappingRule CreateRule(PropertyInfo propertyInfo);
    }
}
